package com.zx.erp.market.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 作者信息
 * @since 2021-11-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Orderdetails implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 详情编号，主键，自动增长
     */
      @TableId(value = "DETAILS_ID", type = IdType.AUTO)
    private Integer detailsId;

    /**
     * 商品的数量
     */
    @TableField("PURCHASE_NUM")
    private Integer purchaseNum;

    /**
     * 商品id，外键
     */
    @TableField("PRODUCT_ID")
    private Integer productId;

    /**
     * 商品单价
     */
    @TableField("PROPRICE")
    private Integer proprice;

    /**
     * 商品总金额
     */
    @TableField("PROTOTAL")
    private Integer prototal;

    /**
     * 订单编号，外键
     */
    @TableField("ORDER_ID")
    private String orderId;


}
